﻿CREATE TABLE [dbo].[sys_UserConfig]
(
	[ConfigID] INT NOT NULL PRIMARY KEY, 
    [UserID] INT NOT NULL, 
    [Value] VARCHAR(MAX) NULL, 
    CONSTRAINT [FK_sys_UserConfig_ToConfig] FOREIGN KEY ([ConfigID]) REFERENCES [sys_Config]([ConfigID]), 
    CONSTRAINT [FK_sys_UserConfig_ToUser] FOREIGN KEY ([UserID]) REFERENCES [sys_LoginUsers]([UserID])
)
